@media screen and (max-width: 568px) {
  .mobile {
    display: block;
  }
}
@media screen and (min-width: 568px) {
  .mobile {
    display: none;
  }
}
html,
body {
  margin: 0;
  padding: 0;
  background: #f7f7f7;
  letter-spacing: 0.5px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Droid Sans", Helvetica, sans-serif;
}
.flexBox {
  display: flex;
}
.iconfont {
  font-family: "iconfont" !important;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: block;
  width: 20px;
  height: 20px;
  font-size: 20px;
  text-align: center;
  color: #818181;
}
.mobile {
  position: relative;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: #fff;
}
header .functional_domain {
  justify-content: space-between;
  align-items: center;
  margin: 8px 0;
}
header .functional_domain .showMore,
header .functional_domain .showMessage {
  display: block;
  margin: 0 20px;
  width: 20px;
  height: 35px;
  line-height: 35px;
}
header .functional_domain .showMore {
  color: #00bb30;
}
header .functional_domain .showMessage {
  font-size: 25px;
  color: #00bb30;
  line-height: 35px;
}
header .functional_domain .searchBar {
  flex-grow: 1;
  background: #eef4f0;
  height: 35px;
  border-radius: 12px;
  color: #98a49a;
  align-items: center;
  justify-content: center;
}
header .functional_domain .searchBar .placeholder {
  margin-left: 5px;
  line-height: 35px;
  font-size: 14px;
}
.afterSlider {
  display: none;
  position: absolute;
  bottom: -1px;
  left: 0;
  z-index: 100;
  margin: 0 2px;
  height: 3px;
  border-radius: 1.5px;
  background: #000;
  transition: all 0.15s ease;
}
aside {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 100%;
  height: 100%;
}
aside .main {
  position: relative;
  left: -80%;
  float: left;
  width: 80%;
  height: 100%;
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;
  background: #f7f7f7;
  transition: all 0.3s cubic-bezier(0, 0, 0.2, 1);
}
aside .main .hd {
  justify-content: space-between;
  margin: 20px 0;
  width: 100%;
}
aside .main .hd span {
  margin: 0 20px;
  width: 25px;
  height: 25px;
  font-size: 25px;
}
aside .main .mid .user {
  align-items: center;
  margin: 30px 10px;
}
aside .main .mid .user .avatar {
  margin-right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  overflow: hidden;
}
aside .main .mid .user .avatar img {
  width: 100%;
  height: 100%;
}
aside .main .mid .user .username {
  font-weight: bold;
}
aside .main .mid .userFuncArea {
  padding: 0 20px;
}
aside .main .mid .userFuncArea .top {
  padding: 5px 0;
  border-bottom: 1px solid #e0e0e0;
}
aside .main .mid .userFuncArea .bottom {
  padding: 5px 0;
}
aside .main .mid .userFuncArea .item {
  padding: 8px 0;
  line-height: 25px;
  justify-content: space-between;
  align-items: center;
}
aside .main .mid .userFuncArea .item .iconfont {
  margin: 0 15px 0 2px;
  width: 25px;
  height: 25px;
  font-size: 22px;
}
aside .main .mid .userFuncArea .item .text {
  flex-grow: 1;
  font-size: 15px;
}
aside .main .mid .userFuncArea .item .rightText {
  font-size: 12px;
  color: #818181;
}
aside .main .bd {
  position: absolute;
  bottom: 0;
  width: 100%;
}
aside .main .bd .topFuncArea {
  align-content: space-between;
  flex-wrap: wrap;
  margin: 0 10px;
  padding: 10px 0;
  height: 110px;
  background: #fff;
  border-radius: 1rem;
}
aside .main .bd .topFuncArea .item {
  width: 33.3%;
  align-items: center;
  flex-direction: column;
}
aside .main .bd .topFuncArea .item .iconfont {
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  width: 26px;
  height: 26px;
  margin: 5px 0;
}
aside .main .bd .topFuncArea .item .text {
  margin-bottom: 5px;
  font-size: 12px;
  color: #818181;
}
aside .main .bd .topFuncArea .item .order {
  background-image: url('../img/icon/副页-订单.png');
}
aside .main .bd .topFuncArea .item .cart {
  background-image: url('../img/icon/副页-购物车.png');
}
aside .main .bd .topFuncArea .item .wallet {
  background-image: url('../img/icon/副页-钱包.png');
}
aside .main .bd .topFuncArea .item .db_time {
  background-image: url('../img/icon/副页-豆瓣时间.png');
}
aside .main .bd .topFuncArea .item .db_bookshelf {
  background-image: url('../img/icon/副页-豆瓣阅读书架.png');
}
aside .main .bd .license {
  margin: 20px 0;
  padding: 0 10px;
  text-align: center;
  line-height: 25px;
}
aside .main .bd .license img {
  width: 50px;
  height: 25px;
  vertical-align: middle;
}
aside .main .bd .license span {
  display: inline-block;
  font-size: 12px;
  color: #bebebe;
}
aside .main .bd .license span.iconfont {
  font-size: 13px;
}
aside .mask {
  width: 100%;
  height: 100%;
  transition: all 0.3s cubic-bezier(0, 0, 0.2, 1);
  background-color: rgba(0, 0, 0, 0.5);
}
footer {
  position: fixed;
  bottom: -1px;
  left: 0;
  z-index: 999;
  width: 100%;
  background: #fff;
  font-size: 10px;
  color: #818181;
}
footer .container {
  justify-content: space-between;
  align-items: center;
}
footer .item {
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 10px 0;
  width: 20%;
}
footer .item .iconfont {
  width: 30px;
  height: 30px;
  font-size: 30px;
  color: #818181;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
footer .item .avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  text-align: center;
  overflow: hidden;
}
footer .item .avatar img {
  width: 100%;
  height: 100%;
}
footer .item .text {
  margin-top: 5px;
}
footer #index .iconfont {
  background-image: url('../img/icon/index_unselected.png');
}
footer #media .iconfont {
  background-image: url('../img/icon/media_unselected.png');
}
footer #group .iconfont {
  background-image: url('../img/icon/group_unselected.png');
}
footer #market .iconfont {
  background-image: url('../img/icon/market_unselected.png');
}
footer #user .iconfont {
  background-image: url('../img/icon/user_unselected.png');
}
footer #index.current .iconfont {
  background-image: url('../img/icon/index_selected.png');
}
footer #media.current .iconfont {
  background-image: url('../img/icon/media_selected.png');
}
footer #group.current .iconfont {
  background-image: url('../img/icon/group_selected.png');
}
footer #market.current .iconfont {
  background-image: url('../img/icon/market_selected.png');
}
footer #user.current .iconfont {
  background-image: url('../img/icon/user_selected.png');
}
footer .current {
  color: #00bb30;
  animation: bgColorChange 0.2s ease;
}
@keyframes bgColorChange {
  0% {
    background-color: rgba(0, 0, 0, 0);
  }
  50% {
    background-color: rgba(0, 0, 0, 0.03);
  }
  100% {
    background-color: rgba(0, 0, 0, 0);
  }
}
footer .publish_icon {
  position: absolute;
  top: -100%;
  right: 15px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #191919;
  border: 1px solid #191919;
  background-image: url('../img/icon/publish_status_pen.png');
  background-size: 60%;
  background-repeat: no-repeat;
  background-position: center center;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
}
footer .go_to_cart_page {
  display: block;
  position: absolute;
  top: -100%;
  right: 15px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff;
  background-image: url('../img/icon/cart.png');
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center center;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}
